package com.yanfan.zutai.domain;

import com.yanfan.common.annotation.Excel;
import com.yanfan.common.core.domain.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * 固件升级对象 b_device_upgrade
 *
 * @author ruoyi
 * @date 2023-11-06
 */
@Data
public class BDeviceUpgrade extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /**
     * 固件名称
     */
    @Excel(name = "固件名称")
    private String firmwareName;

    /**
     * 固件版本
     */
    @Excel(name = "固件版本")
    private Double firmwareVersion;

    /**
     * 下载地址
     */
    @Excel(name = "下载地址")
    private String firmwareUrl;

    // 请求前缀
    private String httpApi;
    // 设备编号
    private List<String> upgrageImeis;

}
